package sheshen.come.cn.sheshen.feature.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;
import sheshen.come.cn.sheshen.R;
import sheshen.come.cn.sheshen.base.BaseActivity;
import sheshen.come.cn.sheshen.utils.Tools;

/**
 * Created by MyPC on 2017/2/27.
 * 继续收货;
 */

public class ContinuedReceiptActivity extends BaseActivity {

    @Bind(R.id.pihao_tv)
    TextView pihaoTv;
    @Bind(R.id.baozhuang_tv)
    TextView baozhuangTv;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_content;
    }

    @Override
    protected void initViews(Bundle savedInstanceState) {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initListeners() {

    }

    //自定义的弹窗（两个按钮的选择框）
    public void notification() {
        View v = View.inflate(this, R.layout.child_add_pihao, null);
        Tools.showCustomDialog(v, this);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick({R.id.pihao_tv, R.id.baozhuang_tv})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.pihao_tv:
                notification();
                break;
            case R.id.baozhuang_tv:
                break;
        }
    }
}
